<html>
    <head>
        <title><g:message code="auth.login.welcome"/></title>
        <style>
        .logo {
          padding: 5px;
          padding-bottom: 0px;
        }
        .logo img {
          border: 0px;
        }
        </style>
        <link rel="stylesheet" href="${resource(dir:'css',file:'main.css')}" />
        <link rel="shortcut icon" href="${resource(dir:'images',file:'favicon.ico')}" type="image/x-icon" />
        <g:layoutHead />
        <g:javascript library="application" />				
    </head>
    <body>
        <div id="spinner" class="spinner" style="display:none;">
            <img src="${resource(dir:'images',file:'spinner.gif')}" alt="Spinner" />
        </div>	
        <div class="logo">
          <a href="#" target="_blank"><img src="${resource(dir:'images', file:'logoSos.jpg')}" alt="Open EHR-Gen Framework" /></a>
        </div>
        <div class="nav">
            
            <span class="menuButton"><g:link class="list" controller="loginAuth" action="list"><g:message code="default.loginAuth.label" args="[entityName]" /></g:link></span>
            <span class="menuButton"><g:link class="list" controller="person" action="list"><g:message code="default.person.label" args="[entityName]" /></g:link></span>
            <span class="menuButton"><g:link class="list" controller="lugar" action="list"><g:message code="default.demographic.label" args="[entityName]" /></g:link></span>
            <span class="menuButton"><g:link class="list" controller="lugar" action="editarMapa">IDEditor</g:link></span>
            <%--

            <a href="http://localhost:9999/#background=Bing&map=15.00/-63.9978/10.7789" class="list">
                <span class="menuButton"><a href="http://localhost:9999/#background=Bing&map=15.00/-63.9978/10.7789" class="list">IDEditor</span>
<span class="menuButton"><g:link class="list" controller="salaSituacional" action="editarMapa">IDEditor</g:link></span>
            <span class="menuButton"><g:link class="list" controller="personNameUser" action="list"><g:message code="default.personNameUser.label" args="[entityName]" /></g:link></span>
               <span class="menuButton"><g:link class="list" controller="role" action="list"><g:message code="default.role.label" args="[entityName]" /></g:link></span>--%>
			<span class="menuButton"><g:link class="list" controller="authorization" action="logout"><g:message code="authorization.action.logout" /></g:link></span>
		</div>
        <g:layoutBody />		
    </body>	
</html>